Building Classes Using Accessor And The Arcgis Api For Javascript